var mongoose = require("mongoose");
var Schema = mongoose.Schema;
var messageSchema = new Schema({
	date:Date,
	author:String,
	message:String
});
module.exports = mongoose.model('Messages',messageSchema);